package com.lpit.mapper;

import com.lpit.pojo.Blacklist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【blacklist(黑名单(不是好友也能拉黑，拉黑后不能查看对方作品))】的数据库操作Mapper
* @createDate 2023-06-08 11:06:01
* @Entity com.lpit.pojo.Blacklist
*/
@Mapper
public interface BlacklistMapper extends BaseMapper<Blacklist> {
    /*查询黑名单列表*/
    List<Blacklist> blacklist(int userid);
    /*删除黑名单列表用户*/
    void deleteBlacklist(int userId,int blacklistId);
}




